// $Font: Avenir, Helvetica, Arial, sans-serif;
$Font: PingFang SC, Microsoft Yahei, sans-serif;
$ThemeColor: #1988fc;
$myFontSize: 18px;
$fontColor: #24292e;
$mask: rgba(25, 136, 252, 0.5);
$boxShadow: 5px 5px 20px rgb(221, 221, 221, 0.5);

.font{
  font-family: PingFang SC, Microsoft Yahei, sans-serif;
}
.themeColor{
  background: #1988fc;
}
.fontSize{
  font-size: 18px;
}
.fontColor{
  color: #24292e;
}
.shadow{
  box-shadow: 5px 5px 20px rgb(221, 221, 221, 0.5);
}
html,
body {
  padding: 0;
  margin: 0;
  font-size: 17px;
  height: 100%;
  font-family: $Font;
}
#app {
  overflow: auto;
  height: 100%;
  width: 100%;
}
ul {
  list-style-type: none;
  padding: 0;
}
h1,h2,h3,h4,h5,h6{
  margin: 0;
}
 .el-pagination.is-background .btn-prev,
.odivt .el-pagination.is-background .btn-next,
.odivt .el-pagination.is-background .el-pager li {
  background-color: #eaeaea;
}

.odivt .el-pagination.is-background .btn-prev {
  margin: 0px 5px 0px 0px;
}

.odivt .el-pagination {
  padding: 0px;
  padding-top: 4px;
}
.content_z {
  height: 100%;
  padding: 0 20px 20px 20px;
  position: relative;
  box-sizing: border-box;
  .header {
    height: 35px;
  }
  .main_content {
    //   这里是表格用到的
    position: absolute;
    top: 70px;
    left: 0px;
    bottom: 5px;
    right: 0px;
    background-color: #ffffff;
    padding: 20px;
    margin: 0px 20px;
    box-sizing: border-box;
    box-shadow: 5px 5px 20px rgb(221, 221, 221, 0.5);
  }
  .bootomPage {
    position: absolute;
    left: 0px;
    bottom: 10px;
    right: 0px;
    box-sizing: border-box;
  }
  .create_details {
    //   这里是创建或者编辑用到的
    position: absolute;
    top: 70px;
    left: 0px;
    bottom: 5px;
    right: 0px;
    background-color: #ffffff;
    padding: 20px;
    margin: 0px 20px;
    box-sizing: border-box;
    box-shadow: 5px 5px 20px rgb(221, 221, 221, 0.5);
    overflow: auto;
  }
  .fixheader {
    position: fixed;
  }
  .creatHeader {
    position: absolute;
    left: 30px;
  }
  .header_space {
    display: flex;
    justify-content: space-between;
    .header_space_left {
      display: flex;
      flex: 1;
      width: 50%;
    }
    .header_space_right {
      .listBtn {
        float: right;
        margin-right: 10px;
      }
    }
    .header_popover {
      min-width: 43%;
    }
    .textoverflow {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left;
    }
  }
  .creatcode_form {
    position: absolute;
    left: 20px;
    right: 0px;
    bottom: 0px;
    top: 70px;
    overflow: auto;
    background-color: #fff;
    padding-top: 20px;
    margin-right: 20px;
    padding-left: 40px;
    box-shadow: 5px 5px 20px rgb(221, 221, 221, 0.5);
  }
  .creat_noBackground {
    //   这个是创建（编辑）时用到的，没有白色背景的
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0px;
    top: 70px;
    overflow: auto;
  }
  .main_table_pageSetBootom {
    //   这个是表格下方有分页按钮用到的
    position: absolute;
    top: 70px;
    left: 0px;
    bottom: 50px;
    right: 0px;
    background-color: #ffffff;
    padding: 20px;
    margin: 0px 20px;
    box-sizing: border-box;
    box-shadow: 5px 5px 20px rgb(221, 221, 221, 0.5);
  }
  
}
.r {
  float: right;
}
.l {
  float: left;
}
.clear {
  &::after {
    display: block;
    clear: both;
    content: "";
  }
}




:root {
    /* 颜色变量 */
    --BG: #fff;
    --Gray-1: rgba(15, 23, 42, 0.02);
    --Gray-2: rgba(15, 23, 42, 0.04);
    --Gray-3: rgba(15, 23, 42, 0.06);
    --Gray-4: rgba(15, 23, 42, 0.15);
    --Gray-5: rgba(15, 23, 42, 0.25);
    --Gray-6: rgba(15, 23, 42, 0.45);
    --Gray-7: rgba(15, 23, 42, 0.65);
    --Gray-8: rgba(15, 23, 42, 0.85);
    --Gray-9: rgba(15, 23, 42, 0.1);
    --Theme-1: #eff6ff;
    --Theme-2: #dbeafe;
    --Theme-3: #bfdbfe;
    --Theme-4: #93c5fd;
    --Theme-5: #60a5fa;
    --Theme-6: #3b82f6;
    --Theme-7: #2563eb;
    --Theme-8: #1d4ed8;
    --Theme-9: #1e40af;
    --Theme-10: #1e3a8a;
    --Theme-A2: rgba(43, 149, 252, 0.15);
    --Vice-Theme: #14b8a6;
    /* 分类列表 */
    --class-red: #ef4444;
    --class-red-sec: #fee2e2;
    --class-blue: #3b82f6;
    --class-blue-sec: #dbeafe;
    --class-emerald: #10b981;
    --class-emerald-sec: #d1fae5;
    --class-orange: #f97316;
    --class-orange-sec: #ffedd5;
  }
  input {
    user-select: auto;
  }
  textarea {
    user-select: auto;
  }
  input {
    background: none;
    outline: none;
  }
  input:focus {
    border: none;
  }
  a,
  a:hover,
  a:active,
  a:visited {
    text-decoration: none;
  }
  body {
    background-color: #f1f2f6;
    overflow: hidden;
  }
  /* 左侧导航栏 */
  #tab {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15.5rem;
    height: 100vh;
    overflow: hidden;
    background-color: var(--BG);
  }
  .logo-box {
    display: flex;
    align-items: center;
    width: 11.5rem;
    height: 3.5rem;
    margin-top: 3rem;
    padding-left: 0.2rem;
  }
  .logo {
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
  }
  #logo-text {
    color: var(--Gray-8);
    width: 3rem;
    height: 1.5rem;
  }
  /* 用户信息 */
  .user {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 2rem 0 1.5rem 0;
    width: 11.5rem;
    height: 3rem;
    border-radius: 6px;
  }
  .user:hover {
    background-color: var(--Gray-2);
  }
  /* 头像 */
  .profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem 0 0.5rem;
    width: 2rem;
    height: 2rem;
    color: var(--BG);
    border-radius: 1rem;
    background-color: var(--Theme-6);
  }
  /* 用户名 */
  .username {
    color: var(--Gray-7);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.5rem;
  }
  /* 导航标签 */
  .mynav > svg {
    color: var(--Gray-7);
    margin-left: 0.5rem;
    margin-right: 1.5rem;
  }
  .mynav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 11.5rem;
    height: 2rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    cursor: default;
  }
  .mynav:hover {
    background-color: var(--Gray-2);
  }
  .mynav.checked {
    background-color: var(--Theme-1);
  }
  .mynav-name {
    color: var(--Gray-7);
    font-size: 0.75rem;
    line-height: 1.5rem;
    font-weight: 600;
  }
  
  .color {
    display: flex;
    flex-direction: column;
    width: 11.5rem;
    margin-top: 1rem;
  }
  .color-title {
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--Gray-6);
    font-size: 0.75rem;
    line-height: 1.5rem;
  }
  .color-li,
  .add-class {
    display: flex;
    align-items: center;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
  }
  .color-li:hover,
  .add-class:hover {
    background-color: var(--Gray-2);
  }
  .list-class {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin: 0 1.5rem 0 0.5rem;
    border: 2px solid #fee2e2;
    border-radius: 100%;
  }
  .base-list-class {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 100%;
  }
  .color-li > span,
  .add-class > span {
    color: var(--Gray-7);
    font-size: 0.75rem;
    line-height: 1.5rem;
    font-weight: 600;
  }
  .add-icon {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 2px solid var(--Gray-2);
    margin: 0 1.5rem 0 0.5rem;
  }
  .add-icon > span {
    position: relative;
    width: 12px;
    height: 2px;
    background-color: var(--Gray-5);
  }
  
  /* 主视区 */
  .main {
    margin-left: 15.5rem;
    width: calc(100vw - 15.5rem);
  }
  /* 头部 */
  .header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 48.5rem;
    height: 6rem;
  }
  .search {
    width: 19.5rem;
    height: 2.5rem;
    padding: 0 1.5rem;
    border: none;
    color: var(--Gray-4);
    border-radius: 2.5rem;
    background-color: var(--BG);
  }
  .message {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 2rem 0 1.5rem;
    border-radius: 2.5rem;
    background-color: var(--BG);
  }
// bootsrap
// 按钮
  .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}
.btn-outline-primary{
  color: #0d6efd;
    border-color: #0d6efd;
}
.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
/* 我的 */
.container1{
  width: 1400px;
  margin: 0 auto;
}
.container2{
  width: 1200px;
  margin: 20px auto 0 auto;
}
.text-label {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}
